package com.tyc.mb.service;

import com.tyc.mb.model.User;
import sun.misc.Unsafe;

import java.util.List;

public interface UserService {
    User getUserById(Integer sid,Integer id);
    User getUserByName(String userName);
    Long login(User user, Integer sid);
    Long register(User user, Integer sid);

    List<User> getAll();
}
